<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>
</head>
<body>
	<div id="container">
		<div id="header">
			<div class="content">
				<h1>
					<a href="<?php echo url_for('') ?>">
						<img src="/images/logo.png" />
	          		</a>
				</h1>
				<div id="menu">
					<?php  ?>
					<ul>
						<li><a href="/index/inicio" title="Inicio">Inicio</a></li>
						<li><a href="/index/portafolio" title="Portafolio" class="active">Portafolio</a></li>
						<li><a href="/index/contacto" title="Contacto">Contacto</a></li>
					</ul>
				</div>
			</div>
		</div>

		<div id="content">
			<?php if ($sf_user->hasFlash('notice')): ?>
			<div class="flash_notice">
				<?php echo $sf_user->getFlash('notice') ?>
			</div>
			<?php endif; ?>

			<?php if ($sf_user->hasFlash('error')): ?>
			<div class="flash_error">
				<?php echo $sf_user->getFlash('error') ?>
			</div>
			<?php endif; ?>

			<div class="content">
				<?php echo $sf_content ?>
			</div>
		</div>

		<div id="footer">
			<div class="content">
				<span class="symfony">
					powered by 
					<a href="http://www.symfony-project.org/">
						<img src="/images/symfony.png" alt="symfony framework" />
					</a>
				</span>
			</div>
		</div>
	</div>
</body>
</html>
